package maosy.poi.util.annotations;

import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.apache.poi.ss.usermodel.VerticalAlignment;
import org.apache.poi.xssf.usermodel.XSSFFont;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Font {

    short fontColor() default XSSFFont.COLOR_NORMAL;

    HorizontalAlignment horizontalAlign() default HorizontalAlignment.LEFT;

    VerticalAlignment verticalAlign() default VerticalAlignment.CENTER;

    boolean fontBold() default false;

}
